using System;
using System.Collections.Generic;
using System.Text;

namespace GraphApp
{
    public class Connection
    {

        private Node startNode;
        private Node endNode;


        public Node StartNode
        {
            get { return startNode; }
            set { startNode = value; }
        }

        public Node EndNode
        {
            get { return endNode; }
            set { endNode = value; }
        }

        public Connection(Node startNode, Node endNode)
        {
            this.startNode = startNode;
            this.endNode = endNode;        
        }





    }
}
